package com.scau402.system1.repository;

import com.scau402.system1.domain.bo.WmsInboundOrderBO;
import com.scau402.system1.domain.po.WmsAuditOrderPO;
import com.scau402.system1.domain.po.WmsInboundOrderDetailPO;
import com.scau402.system1.domain.po.WmsInboundOrderPO;
import com.scau402.system1.domain.query.WmsInboundOrderQuery;
import com.scau402.system1.domain.vo.*;

import java.util.List;

/**
 * @author
 * @create 2024/1/2 18:37
 * @description
 */
public interface IWmsInboundOrderRepository {
    List<WmsInboundOrderBO> getByCondition(WmsInboundOrderQuery wmsInboundOrderQuery);

    List<WmsInboundOrderBO> findByOrderCodeList(List<String> inboundOrderIdList, Long tenantId, boolean page);

    List<WmsInboundOrderExportVO> findListByOrderCodes(List<String> orderCodes);

    List<WmsInboundOrderDetailExportVO> findDetailListByOrderCodes(List<String> orderCodes);

    WmsInboundOrderAndDetailVO findInboundAndDetailByAudit(WmsAuditOrderPO po);

    WmsInboundOrderPO findInboundByAudit(WmsAuditOrderPO audit);

    List<WmsInboundOrderDetailPO> findInboundDetailByOrderCode(String orderCode);
}
